package com.app.model;

import java.util.ArrayList;
import java.util.Collection;

import com.app.constants.ViewConstants;

public class Post {
    
    private String statusCode = ViewConstants.EMPYT;

    private String statusText = ViewConstants.EMPYT;

    private Long id = null;

    private String description = ViewConstants.EMPYT;

    private Group group = new Group();

    private User author = new User();

    private Collection<User> userList = new ArrayList<User>();

    private Image image;

    private Integer countComment = null;

    private Integer countUserGo = null;

    public Post() {

    }

    public Long getId() {
	return id;
    }

    public void setId(Long id) {
	this.id = id;
    }

    public String getDescription() {
	return description;
    }

    public void setDescription(String description) {
	this.description = description;
    }

    public Group getGroup() {
	return group;
    }

    public void setGroup(Group group) {
	this.group = group;
    }

    public User getAuthor() {
	return author;
    }

    public void setAuthor(User author) {
	this.author = author;
    }

    public Collection<User> getUserList() {
	return userList;
    }

    public void setUserList(Collection<User> userList) {
	this.userList = userList;
    }

    public Image getImage() {
	return image;
    }

    public void setImage(Image image) {
	this.image = image;
    }

    public Integer getCountComment() {
	return countComment;
    }

    public void setCountComment(Integer countComment) {
	this.countComment = countComment;
    }

    public Integer getCountUserGo() {
	return countUserGo;
    }

    public void setCountUserGo(Integer countUserGo) {
	this.countUserGo = countUserGo;
    }

    public String getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(String statusCode) {
        this.statusCode = statusCode;
    }

    public String getStatusText() {
        return statusText;
    }

    public void setStatusText(String statusText) {
        this.statusText = statusText;
    }

}
